<?php $this->_extends('_layouts/index2_layout'); ?>

<?php $this->_block('contents'); ?>
<div id="templatemo_content">
	<div class="col_w600">
		<?php $this->_element('jqueryintro'); ?>
		<div class="service_box">
			<div class="sb_left">
				<h4><?php echo $jqeffect['name']; ?></h4>
				<iframe id="demowindow" style="display:none; width:100%;" frameborder="0" scrolling="no" src="<?php echo url('Jqeffects/demoiframe', array('jqeId' => Util::UrlParamEncode($jqeffect['id']))); ?>"></iframe>
				<script type="text/javascript"> 
			         $("#demowindow").load(function(){
				         $('#loading').hide();
				         $(this).show();
				         
				         var bgcolor = $('body').css('background-color');
			             $(this).contents().find("body").css({'background-color': bgcolor});
			             $(this).height($(this).contents().find("#allcontent").outerHeight() + 60);
			         });
				</script>
				<div>
					<img id="loading" src="<?php echo $img_url; ?>loading.gif" />
				</div>
				<div class="cleaner"></div>
				
				<div class="btn_more float_r">
					<a href="<?php echo url('jqeffects/download', array('jqeId' => Util::UrlParamEncode($jqeffect['id']))); ?>" target="_blank">本站下载</a>
				</div>
			</div>
			<div class="cleaner"></div>
			
		</div>
	</div>
</div>
<?php $this->_endblock(); ?>